1 ================================================================================
2 WINDOWS FORMS APPLICATION : VBWinFormBindToNestedProp Project Overview
4 BindToNestedProperty Sample
6 ===============================================================================
8 /////////////////////////////////////////////////////////////////////////////
11 The sample demonstrates how to bind a DataGridView column to a nested property
15 /////////////////////////////////////////////////////////////////////////////
19 1. Derive a class from the PropertyDescriptor class to create a
20 PropertyDescriptor for a sub-property.
22 2. Derive a class from the CustomTypeDescriptor class to add extra
23 PropertyDescriptor to the original PropertyDescriptorCollection of the
24 type, using the derived PropertyDescriptor class.
26 3. Derive a class from the TypeDescriptionProvider class to use the derived
27 CustomTypeDescriptor class.
29 4. Add a TypeDescriptionProviderAttribute on the type that contains complex
33 /////////////////////////////////////////////////////////////////////////////
36 ICustomTypeDescriptor, Part 2
37 http://msdn.microsoft.com/en-us/magazine/cc163804.aspx
40 /////////////////////////////////////////////////////////////////////////////